package com.peach.domain.DeviceManage;

import java.util.Date;
import java.util.List;

public class Device {

    private String udid;

    private String pushMagic;

    private String productName;

    private String token;

    private String unLockToken;

    private String nickName;

    //动态变更指令的类型
    private List<MyApp> apps;

    private String owner;

    private String batteryLevel;

    private String currentCarrierNetwork;

    private String OSVersion;

    private String phoneNumber;

    private String serialNumber;

    private Date updateTime;

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getUnLockToken() {
        return unLockToken;
    }

    public void setUnLockToken(String unLockToken) {
        this.unLockToken = unLockToken;
    }

    public String getCurrentCarrierNetwork() {
        return currentCarrierNetwork;
    }

    public void setCurrentCarrierNetwork(String currentCarrierNetwork) {
        this.currentCarrierNetwork = currentCarrierNetwork;
    }

    public String getOSVersion() {
        return OSVersion;
    }

    public void setOSVersion(String OSVersion) {
        this.OSVersion = OSVersion;
    }

    public String getPhoneNumber() {
        return phoneNumber;
    }

    public void setPhoneNumber(String phoneNumber) {
        this.phoneNumber = phoneNumber;
    }

    public String getSerialNumber() {
        return serialNumber;
    }

    public void setSerialNumber(String serialNumber) {
        this.serialNumber = serialNumber;
    }

    public String getBatteryLevel() {
        return batteryLevel;
    }

    public void setBatteryLevel(String batteryLevel) {
        this.batteryLevel = batteryLevel;
    }

    public String getOwner() {
        return owner;
    }

    public void setOwner(String owner) {
        this.owner = owner;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getUdid() {
        return udid;
    }

    public void setUdid(String udid) {
        this.udid = udid;
    }

    public String getPushMagic() {
        return pushMagic;
    }

    public void setPushMagic(String pushMagic) {
        this.pushMagic = pushMagic;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public List<MyApp> getApps() {
        return apps;
    }

    public void setApps(List<MyApp> apps) {
        this.apps = apps;
    }


    public Device(String udid) {
        this.udid = udid;
    }
    public Device() {}

    @Override
    public String toString() {
        return "Device{" +
                "udid='" + udid + '\'' +
                ", pushMagic='" + pushMagic + '\'' +
                ", token='" + token + '\'' +
                ", nickName='" + nickName + '\'' +
                ", apps=" + apps +
                ", owner='" + owner + '\'' +
                ", batteryLevel='" + batteryLevel + '\'' +
                ", currentCarrierNetwork='" + currentCarrierNetwork + '\'' +
                ", OSVersion='" + OSVersion + '\'' +
                ", phoneNumber='" + phoneNumber + '\'' +
                ", serialNumber='" + serialNumber + '\'' +
                '}';
    }
}
